package com.jasic.common.exception;

/**
 * 异常信息存储类
 *
 *
 */
public class MappingHandleException extends BaseException {

    // 序列化
    private static final long serialVersionUID = -2147666713632365082L;

    /**
     * 构造函数
     *
     */
    public MappingHandleException() {
    }

    /**
     * 构造函数
     *
     * @param code
     * @param message
     */
    public MappingHandleException(String code, String message) {
        exceptionCode = code;
        excetionMessage = message;
    }

    /**
     * 构造函数
     *
     * @param throwable
     */
    public MappingHandleException(Throwable throwable) {
        excetionMessage = throwable.getMessage();
    }

}
